import request from '@/utils/request'


// 优惠券列表
export function getCouponList (params) {
    return request({
      params,
      url: '/back/xsCoupon/getCouponList'
    })
  }
  
//发放优惠券
export function addCouponInBack (params) {
    return request({
      params,
      method:'post',
      url: '/back/xsCoupon/addCouponInBack'
    })
  }
  
//导出Excel
export function exportExcel (params) {
    return request({
      params,
      url: '/back/xsCoupon/exportExcel'
    })
  }